;; ******** highlight-parentheses ********
(use-package highlight-parentheses
  :ensure)
(require 'highlight-parentheses)
(show-paren-mode t)
(global-highlight-parentheses-mode 1)

;; ******** idle-highlight-mode ********
;; (autoload 'idle-highlight-mode "idle-highlight-mode" "highlight the word the point is on" t)
;; (define-globalized-minor-mode global-idle-highlight-mode
;;  idle-highlight-mode
;;  (lambda () (idle-highlight-mode 1))
;;)
;;(global-idle-highlight-mode 1)

;; ******** hi-lock ********
(setq hi-lock-face-defaults
  '("hi-blue" "hi-pink" "hi-green" "hi-blue-b" "hi-black-b" "highlight" "hi-yellow" "hi-red-b" "hi-green-b" "hi-black-hb"))
(global-set-key (kbd "M-s h .") 'hi-lock-face-symbol-at-point)

;; ******** highlight-symbol ********
(use-package highlight-symbol
  :ensure)
(setq hlt-auto-faces-flag t)
(require 'highlight-symbol)
(define-prefix-command 'starsoul-hl-map)
(global-set-key (kbd "M-s M-h") 'starsoul-hl-map)
(define-key starsoul-hl-map (kbd "M-.") 'highlight-symbol-at-point)
(define-key starsoul-hl-map (kbd "double-mouse-1") 'highlight-symbol-at-point)
(define-key starsoul-hl-map (kbd "M-f") 'highlight-symbol-next)
(define-key starsoul-hl-map (kbd "M-p") 'highlight-symbol-prev)
(define-key starsoul-hl-map (kbd "M-F") 'highlight-symbol-next-in-defun)
(define-key starsoul-hl-map (kbd "M-P") 'highlight-symbol-prev-in-defun)
(define-key starsoul-hl-map (kbd "M-q") 'highlight-symbol-query-replace)
(define-key starsoul-hl-map (kbd "M-r") 'highlight-symbol-remove-all)

(provide 'init_highlight)
